package com.party.core.model.order;

import com.party.core.model.BaseModel;
import com.party.core.model.member.Member;

/**
 * @author yifeng
 * @createTime 2018/1/24 0024 下午 16:52
 * @description 历史订单表
 */
public class OrderFormHistory extends BaseModel {
    // 商品编号
    private String goodsId;

    // 业务发起者（活动，众筹，商品）
    private String initiatorId;

    // 会员编号
    private String memberId;

    private Member member;

    private Member initiator;

    // 购买份数
    private Integer unit;

    // 付款金额
    private Float payment;

    // 是否已付款（0：否；1：是）
    private String isPay;

    // 联系人
    private String linkman;

    // 联系电话
    private String phone;

    // 排序
    private Integer sort;

    // 支付方式（0：支付宝，1微信支付）
    private Integer paymentWay;

    // 交易类型（微信：APP/JSAPI）
    private String tradeType;

    // 订单类型（0：正常预定商品订单，1：定制商品订单，2：活动订单，3：众筹订单，4：等级套餐订单）
    private Integer type;

    private String typeName;

    // 订单状态（0：审核中，1：待支付，2：支付成功，3：其它）
    private Integer status;

    private String statusName;

    // 交易状态
    private String tradeState;

    //商铺商品主键
    private String storeGoodsId;

    // 订单标题
    private String title;

    // 商户号
    private String merchantId;

    private String merchantName;

    // 交易单号
    private String transactionId;

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getInitiatorId() {
        return initiatorId;
    }

    public void setInitiatorId(String initiatorId) {
        this.initiatorId = initiatorId;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public Member getMember() {
        return member;
    }

    public void setMember(Member member) {
        this.member = member;
    }

    public Member getInitiator() {
        return initiator;
    }

    public void setInitiator(Member initiator) {
        this.initiator = initiator;
    }

    public Integer getUnit() {
        return unit;
    }

    public void setUnit(Integer unit) {
        this.unit = unit;
    }

    public Float getPayment() {
        return payment;
    }

    public void setPayment(Float payment) {
        this.payment = payment;
    }

    public String getIsPay() {
        return isPay;
    }

    public void setIsPay(String isPay) {
        this.isPay = isPay;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getPaymentWay() {
        return paymentWay;
    }

    public void setPaymentWay(Integer paymentWay) {
        this.paymentWay = paymentWay;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getTradeState() {
        return tradeState;
    }

    public void setTradeState(String tradeState) {
        this.tradeState = tradeState;
    }

    public String getStoreGoodsId() {
        return storeGoodsId;
    }

    public void setStoreGoodsId(String storeGoodsId) {
        this.storeGoodsId = storeGoodsId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }
}
